home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_jpilot.idb / usr / freeware / share / jpilot / jpilotrc.blue.z / jpilotrc.blue
Text File  |  2001-10-09  |  6KB  |  210 lines

  1. style "window"
  2. {
  3. fg[NORMAL] = { 1.0, 1.0, 1.0 }
  4. bg[NORMAL] = { 0.0, 0.3, 0.6 }
  5. }
  6.  
  7. style "label"
  8. {
  9. fg[NORMAL] = { 1.0, 1.0, 1.0 }
  10. bg[NORMAL] = { 0.0, 0.3, 0.6 }
  11. }
  12.  
  13. style "label_high"
  14. {
  15. fg[NORMAL] = { 0.9, 0.9, 0.5 }
  16. }
  17.  
  18. style "label_box_cal"
  19. {
  20. fg[NORMAL] = { 0.0, 0.0, 1.0 }
  21. bg[NORMAL] = { 1.0, 1.0, 1.0 }
  22. bg[ACTIVE] = { 1.0, 1.0, 1.0 }
  23. bg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  24. bg[INSENSITIVE] = { 1.0, 1.0, 1.0 }
  25. }
  26.  
  27. style "frame"
  28. {
  29. fg[NORMAL] = { 1.0, 1.0, 1.0 }
  30. bg[NORMAL] = { 1.0, 1.0, 1.0 }
  31. }
  32.  
  33. style "button"
  34. {
  35. # This shows all the possible states for a button.  The only one that
  36. # doesn't apply is the SELECTED state.
  37. fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  38. bg[PRELIGHT] = { 0, 0.4, 0.6 }
  39. bg[ACTIVE] = { 0, 0.4, 0.6 }
  40. fg[ACTIVE] = { 1.0, 1.0, 1.0 }
  41. bg[NORMAL] = { 0.0, 0.3, 0.6 }
  42. fg[NORMAL] = { 0.5, 1.0, 1.0 }
  43. bg[INSENSITIVE] = { 1.0, 1.0, 1.0 }
  44. fg[INSENSITIVE] = { 1.0, 0, 1.0 }
  45. }
  46.   
  47. style "button_set" = "button"
  48. {
  49. bg[NORMAL] = { 0.0, 0.5, 0.7 }
  50. }
  51.   
  52. style "button_today" = "button"
  53. {
  54. bg[NORMAL] = { 0.0, 0.4, 0.6 }
  55. }
  56.  
  57. style "button_dow" = "button"
  58. {
  59. fg[PRELIGHT] = { 0.0, 0.0, 0.0 }
  60. bg[PRELIGHT] = { 0.0, 0.3, 0.6 }
  61. bg[ACTIVE] = { 0.0, 0.3, 0.6 }
  62. fg[ACTIVE] = { 0.0, 0.0, 0.0 }
  63. }
  64.  
  65. style "button_app"
  66. {
  67. fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  68. bg[PRELIGHT] = { 0.0, 0.5, 0.7 }
  69. }
  70.  
  71. style "main_button" = "button"
  72. {
  73. font = "-adobe-helvetica-medium-r-normal--*-100-*-*-*-*-*-*"
  74. bg[PRELIGHT] = { 0.75, 0, 0 }
  75. }
  76.  
  77. style "toggle_button" = "button"
  78. {
  79. #fg[NORMAL] = { 1.0, 1.0, 1.0 }
  80. #bg[NORMAL] = { 0, 0.3, 0.6 }
  81. #fg[ACTIVE] = { 1.0, 1.0, 1.0 }
  82. #bg[ACTIVE] = { 0.0, 0.4, 0.7 }
  83. #bg[PRELIGHT] = { 0.0, 0.3, 0.6 }
  84. #fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  85. }
  86.  
  87. style "radio_button"
  88. {
  89. fg[NORMAL] = { 1.0, 1.0, 0.0 }
  90. bg[NORMAL] = { 0, 0.3, 0.6 }
  91. fg[ACTIVE] = { 1.0, 1.0, 1.0 }
  92. bg[ACTIVE] = { 1.0, 1.0, 0.0 }
  93. bg[PRELIGHT] = { 0.0, 0.3, 0.6 }
  94. fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  95. }
  96.  
  97. style "spinner" = "spinner"
  98. {
  99. fg[NORMAL] = { 0.0, 0.0, 0.0 }
  100. bg[NORMAL] = { 0.0, 0.3, 0.6 }
  101. bg[PRELIGHT] = { 1.0, 1.0, 0.0 }
  102. fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  103. base[NORMAL] = { 0.85, 0.9, 1.0 }
  104. }
  105.  
  106. style "text"
  107. {
  108. #This is how to use a different font for now
  109. #font = "-adobe-courier-medium-o-normal--8-80-75-75-m-50-iso8859-1"
  110. bg[NORMAL] = { 0, 0.4, 0.7 }
  111. fg[NORMAL] = { 0.0, 0.0, 0.0 }
  112. fg[PRELIGHT] = { 0.0, 0.0, 0.0 }
  113. bg[PRELIGHT] = { 0.0, 0.5, 0.7 }
  114. #fg[SELECTED] = { 0.0, 0.0, 0.0 }
  115. #bg[SELECTED] = { 0.9, 0.8, 1.0 }
  116. fg[ACTIVE] = { 0.0, 0.0, 0.0 }
  117. bg[ACTIVE] = { 0.0, 0.3, 0.6 } #bg of scrollbars
  118. fg[INSENSITIVE] = { 1.0, 1.0, 0.0 }
  119. bg[INSENSITIVE] = { 0.0, 0.0, 0.0 }
  120. text[NORMAL] = { 0.0, 0.0, 1.0 }
  121. base[NORMAL] = { 0.85, 0.9, 1.0 }
  122. }
  123.  
  124. style "ruler"
  125. {
  126. font = "-adobe-helvetica-medium-r-normal--*-80-*-*-*-*-*-*"
  127. }
  128.  
  129. style "menu"
  130. {
  131. bg[NORMAL] = { 0.0, 0.30, 0.6 }
  132. fg[NORMAL] = { 1.0, 1.0, 1.0 }
  133. fg[PRELIGHT] = { 1.0, 1.0, 1.0 }
  134. bg[PRELIGHT] = { 0.0, 0.4, 0.7 }
  135. fg[ACTIVE] = { 0.0, 1.0, 0.0 }
  136. bg[ACTIVE] = { 0, 0.3, 0.6 }
  137. fg[SELECTED] = { 1.0, 0.0, 0.0 }
  138. bg[SELECTED] = { 0, 0.5, 0.5 }
  139. }
  140.  
  141. style "notebook"
  142. {
  143. # This shows all the possible states for a button.  The only one that
  144. # doesn't apply is the SELECTED state.
  145.  
  146. bg[ACTIVE] = { 0.0, 0.3, 0.6 }
  147. fg[ACTIVE] = { 0.9, 0.9, 0.9 }
  148. bg[NORMAL] = { 0.0, 0.3, 0.6 }
  149. fg[NORMAL] = { 0.9, 0.9, 0.9 }
  150. bg[ACTIVE] = { 0.0, 0.25, 0.55 }
  151. fg[ACTIVE] = { 1.0, 1.0, 1.0 }
  152. }
  153.  
  154. style "calendar"
  155. {
  156. fg[NORMAL] = { 1.0, 1.0, 1.0 } #normal days text and month/year text
  157. bg[NORMAL] = { 0.0, 0.4, 0.7 } #top header part and off month days
  158. fg[SELECTED] = { 1.0, 1.0, 0.0 } # selected and week numbers
  159. bg[SELECTED] = { 0.0, 0.4, 0.7 } # selected and week numbers
  160. fg[PRELIGHT] = { 1.0, 1.0, 0.0 } # prelights for arrows
  161. bg[PRELIGHT] = { 0.0, 0.3, 0.6 } # prelights for arrows
  162. base[NORMAL] = { 0.0, 0.3, 0.6 } # bg for calendar
  163. }
  164.  
  165. # pixmap_path "~/.pixmaps"
  166.  
  167.   # These set the widget types to use the styles defined above.
  168.   # The widget types are listed in the class hierarchy, but could probably be
  169.   # just listed in this document for the users reference.
  170.  
  171.   widget_class "GtkWindow" style "window"
  172.   widget_class "GtkDialog" style "window"
  173.   widget_class "GtkFileSelection" style "window"
  174. #  widget_class "*Gtk*Scale" style "scale"
  175.   widget_class "*GtkNotebook" style "notebook"
  176.   widget_class "*GtkCheckButton*" style "radio_button"
  177.   widget_class "*GtkRadioButton*" style "radio_button"
  178.   widget_class "*GtkButton*" style "button"
  179.   widget_class "*GtkSpinButton" style "spinner"
  180.   widget_class "*GtkToggleButton*" style "toggle_button"
  181.   widget_class "*Ruler" style "ruler"
  182.   widget_class "*GtkMenu" style "menu"
  183. widget_class "*Menu*" style "menu"
  184.   widget_class "*GtkOptionMenu" style "menu"
  185.   widget_class "*GtkRadioMenuItem" style "menu"
  186.   widget_class "*GtkText" style "text"
  187.   widget_class "*GtkCList" style "text"
  188.   widget_class "*GtkVScrollbar" style "text"
  189.   widget_class "*GtkHScrollbar" style "text"
  190.   widget_class "*GtkLabel" style "label"
  191.   widget_class "*GtkFrame" style "frame"
  192.   widget_class "*GtkEntry" style "text"
  193.   widget_class "*GtkCalendar" style "calendar"
  194.   widget "*GtkButton*.button_set" style "button_set"
  195.   widget "*GtkButton*.button_dow" style "button_dow"
  196.   widget "*GtkButton*.button_today" style "button_today"
  197.   widget "*GtkButton*.button_app" style "button_app"
  198.  
  199.   # This sets all the buttons that are children of the "main window" to
  200.   # the main_button style.  These must be documented to be taken advantage of.
  201.   widget "main window.*GtkButton*" style "main_button"
  202.  
  203. #works->widget "*GtkTable.*GtkButton*" style "button_set"
  204. widget "*.button_set" style "button_set"
  205. widget "*.button_dow" style "button_dow"
  206. widget "*.button_today" style "button_today"
  207. widget "*.button_app" style "button_app"
  208. widget "*.label_box_cal" style "label_box_cal"
  209. widget "*.label_high" style "label_high"
  210.